<?php include(dirname(__FILE__).'\coments.php'); ?>
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
    <?php include(dirname(__FILE__).'\head.php'); ?>
    <body>

        <!-- Faixa Topo -->
        <div id="topo">
            <ul id="menu">
                <li><a href="#" id="windowOpen">Admin</a></li>
                <!--    <li><a href="#">Ajuda</a></li> -->
                <?php if(isset($_SESSION['setor'])){ ?>
                <li>| <a href="include/sair.php">Sair</a></li>
                <?php } ?>
            </ul>
        </div>
        <br />

        <?php

        if(file_exists("include/".$pagina)){
            include("include/".$pagina);
        } else {
            include(dirname(__FILE__).'\404.php');
        }

        ?>


        <!-- Janela:: -->
        <div id="window">
            <div id="windowTop">
                <div id="windowTopContent">Login</div>

                <img src="img/window_close.jpg" id="windowClose" />
            </div>
            <div id="windowBottom"><div id="windowBottomContent">&nbsp;</div></div>

            <div id="windowContent">

                <form action="admin/login.php" name="form2" method="POST">
                    <table>
                        <tr>
                            <td>Nome:</td>

                            <td><input name="login"></td>
                        </tr>
                        <tr>
                            <td>Senha:</td>
                            <td><input name="senha" type="password"></td>
                        </tr>
                        <tr>
                            <td colspan="2" class="centro"><input name="ok" value="Entrar" type="submit"></td>

                        </tr>
                    </table>

                </form>


            </div>
            <!-- <img src="img/window_resize.gif" id="windowResize" /> -->
        </div>
        <!-- ::Janela -->
    </body>
</html>